package com.sky.sky_pojo.entity;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class OrderQueryPage {
    private Integer status;
    @NotNull (message = "页码不能为空")
    private Integer page;
    @NotNull (message = "每页条数不能为空")
    private Integer pageSize;    
    private String number;
    private  String phone;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private Long userId;
}
